﻿@model WeberTimeTracker.Models.Project

@{
    ViewBag.Title = "Details";
}

<script type="text/javascript">
    $(function () {
        $("tr:even").css("background-color", "#D0D0D0 ");
    });
</script>

<h2>Details</h2>

<fieldset>
    <legend>Project</legend>
    <table>
    <tr><td>Project ID</td></tr>
    <tr><td>@Html.DisplayFor(model => model.Project_ID)</td></tr>
    <tr><td>Client</td></tr>
    <tr><td>@Html.DisplayFor(model => model.Client.Name)</td></tr>
    <tr><td>Rate</td></tr>
    <tr><td>@Html.DisplayFor(model => model.Rate.Rate_ID)</td></tr>
    <tr><td>Project Name</td></tr>
    <tr><td>@Html.DisplayFor(model => model.Project_Name)</td></tr>
    </table>
    @*<div class="display-label">Project ID</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Project_ID)
    </div>

    <div class="display-label">Client</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Client.Name)
    </div>

    <div class="display-label">Rate</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Rate.Rate_ID)
    </div>

    <div class="display-label">Project Name</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Project_Name)
    </div>*@
    
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id = Model.Project_ID } ) |
    @Html.ActionLink("Back to List", "Index")
</p>
